package top.boking.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import top.boking.domain.Student;

import java.util.List;

public interface StudentDao {

    @Select("select *from student")
    List<Student> findAll();

    @Update("update student set S=30 where S=1")
    int updateS();
    @Delete("delete from student where S=#{ss}")
    int deleteS(Integer s);
    
}
